package com.atguigu.jxc.entity;

import lombok.Data;

@Data
public class AVGPojo {
    private String date;
    private double saleTotal,purchasingTotal,profit;
    public AVGPojo initProfit(){
        this.profit = this.saleTotal-this.purchasingTotal;
        return this;
    }
}
